<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>橡树科技－JavaDemoSystem</title>
    <link type="text/css" rel="stylesheet" media="all" href="/static/styles/global.css"/>
    <link type="text/css" rel="stylesheet" media="all" href="/static/styles/global_color.css"/>
</head>
<body>

<div id="header">
    <img src="../images/logo.png" alt="logo" class="left"/>
    <a href="#">[退出]</a>
</div>


<div id="navi">
    <ul id="menu">
        <li><a href="../index.html" class="index_off"></a></li>
        <li><a href="../role/role_list.html" class="role_off"></a></li>
        <li><a href="../admin/admin_list.html" class="admin_off"></a></li>
        <li><a href="../fee/fee_list.html" class="fee_off"></a></li>
        <li><a href="/account/account_list" class="account_on"></a></li>
        <li><a href="../service/service_list.html" class="service_off"></a></li>
        <li><a href="../bill/bill_list.html" class="bill_off"></a></li>
        <li><a href="../report/report_list.html" class="report_off"></a></li>
        <li><a href="../user/user_info.html" class="information_off"></a></li>
        <li><a href="../user/user_modi_pwd.html" class="password_off"></a></li>
    </ul>
</div>


<div id="main">
    <form action="" method="" class="main_form">
        <div class="text_info clearfix"><span>账务账号ID：</span></div>
        <div class="input_info"><input type="text" value="${accountDetail.accountId}" readonly class="readonly"/></div>
        <div class="text_info clearfix"><span>姓名：</span></div>
        <div class="input_info"><input type="text" value="${accountDetail.realName}" readonly class="readonly"/></div>
        <div class="text_info clearfix"><span>身份证：</span></div>
        <div class="input_info">
            <input type="text" value="${accountDetail.idcardNo}" readonly class="readonly"/>
        </div>
        <div class="text_info clearfix"><span>登录账号：</span></div>
        <div class="input_info">
            <input type="text" value="${accountDetail.loginName}" readonly class="readonly"/>
        </div>
        <div class="text_info clearfix"><span>电话：</span></div>
        <div class="input_info">
            <input type="text" class="width200 readonly" readonly value="${accountDetail.telephone}"/>
        </div>
        <div class="text_info clearfix"><span>推荐人账务账号ID：</span></div>
        <div class="input_info"><input type="text" readonly class="readonly" value="${accountDetail.recommendreId}"/>
        </div>
        <div class="text_info clearfix"><span>推荐人身份证号码：</span></div>
        <div class="input_info"><input type="text" readonly class="readonly" value="${accountDetail.aidcardno}"/></div>
        <div class="text_info clearfix"><span>状态：</span></div>
        <div class="input_info">
            <select disabled>
                <c:if test="${accountDetail.status == '0'}">
                    <option>开通</option>
                </c:if>
                <c:if test="${accountDetail.status == '1'}">
                    <option>暂停</option>
                </c:if>
                <c:if test="${accountDetail.status == '2'}">
                    <option>删除</option>
                </c:if>
            </select>
        </div>

        <c:if test="${accountDetail.status == '0'}">
            <div class="text_info clearfix">
                <span>开通时间：</span>
            </div>
            <div class="input_info">
                <input type="text" readonly class="readonly" value="<fmt:formatDate value="${accountDetail.createDate}" pattern="yyyy-MM-dd"/>"/>
            </div>
        </c:if>
        <c:if test="${accountDetail.status == '1'}">
            <div class="text_info clearfix">
                <span>暂停时间：</span>
            </div>
            <div class="input_info">
                <input type="text" readonly class="readonly" value="<fmt:formatDate value="${accountDetail.pauseDate}" pattern="yyyy-MM-dd"/>"/>
            </div>
        </c:if>
        <c:if test="${accountDetail.status == '2'}">
            <div class="text_info clearfix">
                <span>删除时间：</span>
            </div>
            <div class="input_info">
                <input type="text" readonly class="readonly" value="<fmt:formatDate value="${accountDetail.closeDate}" pattern="yyyy-MM-dd"/>"/>
            </div>
        </c:if>

        <div class="text_info clearfix"><span>上次登录时间：</span></div>
        <div class="input_info"><input type="text" readonly class="readonly" value="<fmt:formatDate value="${accountDetail.lastLoginTime}" pattern="yyyy-MM-dd HH:SS:ss"/>"/></div>
        <div class="text_info clearfix"><span>上次登录IP：</span></div>
        <div class="input_info"><input type="text" readonly class="readonly" value="${accountDetail.lastLoginIp}"/></div>

        <div class="text_info clearfix"><span>生日：</span></div>
        <div class="input_info">
            <input type="text" readonly class="readonly" value="<fmt:formatDate value="${accountDetail.birthdate}" pattern="yyyy-MM-dd"/>"/>
        </div>

        <div class="text_info clearfix"><span>Email：</span></div>
        <div class="input_info">
            <input type="text" class="width350 readonly" readonly value="${accountDetail.email}"/>
        </div>
        <div class="text_info clearfix"><span>职业：</span></div>
        <div class="input_info">
            <select disabled>
                <option>${accountDetail.occupation}</option>
            </select>
        </div>
        <div class="text_info clearfix"><span>性别：</span></div>
        <div class="input_info fee_type">
            <c:if test="${accountDetail.gender == '1'}">
                <input type="radio" name="radSex" checked="checked" id="female" disabled/>
                <label for="female">女</label>
                <input type="radio" name="radSex" id="male" disabled/>
                <label for="male">男</label>
            </c:if>
            <c:if test="${accountDetail.gender == '0'}">
                <input type="radio" name="radSex" id="female" disabled/>
                <label for="female">女</label>
                <input type="radio" name="radSex"  checked="checked" id="male" disabled/>
                <label for="male">男</label>
            </c:if>
        </div>
        <div class="text_info clearfix"><span>通信地址：</span></div>
        <div class="input_info"><input type="text" class="width350 readonly" readonly value="${accountDetail.mailaddress}"/>
        </div>
        <div class="text_info clearfix"><span>邮编：</span></div>
        <div class="input_info"><input type="text" class="readonly" readonly value="${accountDetail.zipcode}"/></div>
        <div class="text_info clearfix"><span>QQ：</span></div>
        <div class="input_info"><input type="text" class="readonly" readonly value="${accountDetail.qq}"/></div>

        <div class="button_info clearfix">
            <input type="button" value="返回" class="btn_save" onClick="location.href='/account/account_list'"/>
        </div>
    </form>
</div>

<div id="footer">
    <span>[源自橡树的技术，最优秀的师资，最真实的企业环境，最适用的实战项目]</span>
    <br/>
    <span>版权所有(C)橡树信息科技有限公司 </span>
</div>
</body>
</html>
